<template>
  <div class="box">
    <u>
      <van-icon name="user-circle-o" />
    </u>

    <div>
      <li>
        <p>
          {{ item.user.nick  ? item.user.nick : "匿名用户" }}
        </p>
        <span>
          {{ item.goods.goodReputationStr }}
        </span>
      </li>
      <li>
        <p>
          {{ item.goods.goodReputationRemark }}
        </p>
      </li>
      <li>
        <p>
          {{ item.goods.dateReputation }}
        </p>
        <p>
          {{ item.goods.property }}
        </p>
      </li>
    </div>
  </div>
</template>

<script>
export default {
  props: ["item"],
};
</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  height: 220px;
  border-bottom: 1px solid rgb(124, 123, 123);
  display: flex;
  align-items: center;
  background-color: #fff;
  p {
    font-size: 26px;
  }
  u {
    font-size: 130px;
  }
  li {
    display: flex;
    align-items: center;
    margin: 30px 0;
    &:nth-child(3) {
      color: #7e7e81;
      font-size: 20px;
    }
  }
  span {
    width: 80px;
    font-size: 26px;
    height: 40px;
    border-radius: 9px;
    background-color: rgb(230, 42, 42);
    display: inline-block;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin-left: 20px;
  }
}
</style>
